@import "src/assets/scss/base";
.comment_wrap{
  @include fill-screen();
  background-color: #fff;
  transform: translate3d(100%, 0, 0);
  transition: all 300ms ease-out;
  &.entry {
    transform: translate3d(0, 0, 0);
  }
}

.comment_title_wrap {
  width: 375px;
  height: 80px;
  background: #ffffff;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);

  .nav_comment_avatar {
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.00);
    border-radius: 50%;
    vertical-align: bottom;
  }

  .nav_comment_text {
    margin-left: 15px;
    line-height: 27px;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
  }
}

.comment_list {
  height: calc(100vh - 80px);
  padding: 40px 17px 80px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  row-gap: 18px;
  overflow: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  position: relative;
  &_item {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
  }
  .comment_item_wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    &_avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
    }
    &_nickname {
      margin-left: 7px;
      line-height: 17px;
      opacity: 0.56;
      font-size: 13px;
      font-weight: 400;
      color: #000000;
    }
    &_identity {
      margin-left: 13px;
      width: 45px;
      height: 24px;
      background: #f6f2f8;
      border-radius: 12px;
      box-shadow: 0 16px 40px 0 rgba(91,77,188,0.09);
      display: grid;
      place-items: center;
      opacity: 0.42;
      font-size: 13px;
      font-weight: 400;
      color: #000000;
    }
    .iconfont {
      margin-left: auto;
      font-size: 21px;
      opacity: 0.44;
      &.icon-xihuanfill {
        color: #9CA3D0;
      }
    }
  }

  .comment_item_box {
    margin-left: 37px;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 11px;
    &_content {
      @include text-ellipsis();
      line-height: 19px;
      font-size: 14px;
      font-weight: 400;
      color: #000000;
    }
    &_time {
      min-width: 60px;
      line-height: 12px;
      transform: scale(0.75);
      opacity: 0.41;
      font-size: 12px;
      font-weight: 400;
      text-align: left;
      color: #000000;
      letter-spacing: -0.04px;
    }
  }
}

